<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改数据</title>
</head>
<body>
    <%--<form name="accountForm"  action="${pageContext.request.contextPath}/account/update" method="post">
    账户名称:<input type="text" name="name" value="${account.name}"><br>
    账户金额:<input type="text" name="money" value="${account.money}"><br>
        <input type="submit" value="保存"><br>
    </form>--%>
    <div class="container" style="width: 400px;">
        <h3 style="text-align: center;">修改数据${employee.id}</h3>

        <form name="accountForm"  action="${pageContext.request.contextPath}/employee/update" method="post">
            <input type="hidden" name="id" value="${employee.id}">
            年龄:<input type="text" name="age" value="${employee.age}"><br>
            姓名:<input type="text" name="name" value="${employee.name}"><br>
            性别:<input type="text" name="sex" value="${employee.sex}"><br>
            地址:<input type="text" name="address" value="${employee.address}"><br>
            <input type="submit" value="保存"><br>
        </form>
    </div>
</body>
</html>
